<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">	
	<tr>
		<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		<td width="25%" height="25" class="defaultFormLabel">{t t=$good.name}</td>
		<td>
			{ext->class_function class="shop" func="get_product_field_data" assign="value" name=$good.name parent=$smarty.get.product_id lang=$lang}
			<script language="javascript" type="text/javascript">
			function {$good.name}form_date()
			{ldelim}	
				y=child_list.{$good.name}_y.value;
				m=child_list.{$good.name}_m.value;
				d=child_list.{$good.name}_d.value;
				h=child_list.{$good.name}_h.value;
				i=child_list.{$good.name}_i.value;
				s=child_list.{$good.name}_s.value;	
				child_list.{$good.name}.value=y+'.'+m+'.'+d+'.'+h+'.'+i+'.'+s;	
			{rdelim}
			</script>
			<input type="hidden" name="{$good.name}" value="{if $good.value!='empty' && !$value}{$smarty.now|date:"Y"}.{$smarty.now|date:"m"}.{$smarty.now|date:"d"}.{$smarty.now|date:"H"}.{$smarty.now|date:"i"}.{$smarty.now|date:"s"}{/if}{if $value}{$value|date:"Y"}.{$value|date:"m"}.{$value|date:"d"}.{$value|date:"H"}.{$value|date:"i"}.{$value|date:"s"}{/if}">
			<input type="text" name="{$good.name}_y" value="{if $good.value!='empty' && !$value}{$smarty.now|date:"Y"}{/if}{if $value}{$value|date:"Y"}{/if}" size="4" maxlength="4" class="defaultInputText" style="width:auto" onChange="{$good.name}form_date()">
			<input type="text" name="{$good.name}_m" value="{if $good.value!='empty' && !$value}{$smarty.now|date:"m"}{/if}{if $value}{$value|date:"m"}{/if}" size="2" maxlength="2" class="defaultInputText" style="width:auto" onChange="{$good.name}form_date()">
			<input type="text" name="{$good.name}_d" value="{if $good.value!='empty' && !$value}{$smarty.now|date:"d"}{/if}{if $value}{$value|date:"d"}{/if}" size="2" maxlength="2" class="defaultInputText" style="width:auto" onChange="{$good.name}form_date()">&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="text" name="{$good.name}_h" value="{if $good.value!='empty' && !$value}{$smarty.now|date:"H"}{/if}{if $value}{$value|date:"H"}{/if}" size="2" maxlength="2" class="defaultInputText" style="width:auto" onChange="{$good.name}form_date()"> :
			<input type="text" name="{$good.name}_i" value="{if $good.value!='empty' && !$value}{$smarty.now|date:"i"}{/if}{if $value}{$value|date:"i"}{/if}" size="2" maxlength="2" class="defaultInputText" style="width:auto" onChange="{$good.name}form_date()"> :
			<input type="text" name="{$good.name}_s" value="{if $good.value!='empty' && !$value}{$smarty.now|date:"s"}{/if}{if $value}{$value|date:"s"}{/if}" size="2" maxlength="2" class="defaultInputText" style="width:auto" onChange="{$good.name}form_date()">
		</td>		
	</tr>
</table>
